package com.innovation.client;

import io.netty.channel.Channel;


public abstract class AbstractClient implements Client{
	
	protected String host;//服务器ip
	protected int port;//服务器端口
	protected int bufferSendSize; //发送包大小限制
	protected int bufferRecvSize; //服务器返回的最大包大小
	protected int timeout = 3000; //超时时间
	protected Channel channel = null; //客戶端連接
	
	protected AbstractClient(String host, int port, int bufferSendSize, int bufferRecvSize){
		this.host = host;
		this.port = port;
		this.bufferSendSize = bufferSendSize;
		this.bufferRecvSize = bufferRecvSize;
	}
	
}
